package com.xt.pro;


import com.xthh._ble.HH_BT;
import com.xthh._function.HH_CharUtil;
import com.xthh._function.HH_Logging;

import java.util.ArrayList;

public class BLEDelegate
{
    private static final String TAG = "XTHH_BLEDelegate";

    public boolean ReturnResult(int type, int state){
        if (type == 100){
        }
        return true;
    }


    // 接收需要补包的数据
    public boolean RecvSubPageData(boolean series, byte []content, int contentLen) {
        //HH_Logging.i(TAG, tp, "RecvSubPageData:%s", HH_CharUtil.ByteToHexStr(content));
        HH_BT.globa_list_sub_page_date = new ArrayList<Integer>();
        for (int i = 0; i < content.length; i++){
            HH_BT.globa_list_sub_page_date.add((int) content[i]);
        }
        return true;
    }
}
